#include <REGX52.H>
void Delay(unsigned int xms)
{ unsigned char i,j;
	while(xms--)
	{
  	i=2;
	  j=239;
	  do{
		  while(--j);
		}
	  while(--i);
	

	}	
}
 
void main()
{ 
			P2=0xFE;
      Delay(200);
      P2=0XFF;	
		  
		while(1) 
		{
			
		}

}
